{% load i18n %}
ddddddddddddddd
<div class="submit-row" {% if is_popup %}style="overflow: auto;"{% endif %}>
{% if show_save %}
<a id="toolbar_button" class="ui-state-default ui-corner-all save ui-state-highlight" {{ onclick_attrib }} href="javascript:document.forms[0].submit();">
    <span class="ui-icon ui-icon-check"></span>{% trans 'Save' %}
</a>    
{% endif %}
{% if show_delete_link %}
<a id="toolbar_button" class="ui-state-default ui-corner-all ui-state-error delete" {{ onclick_attrib }} href="delete/">
    <span class="ui-icon ui-icon-trash"></span>{% trans 'Delete' %}
</a>    
{% endif %}

{% if show_save_as_new %}
<a id="toolbar_button" name="_saveasnew" class="ui-state-default ui-corner-all" {{ onclick_attrib }} href="javascript:document.forms[0].submit();">
    <span class="ui-icon "></span>{% trans 'Save as new' %}
</a>    
{%endif%}
{% if show_save_and_add_another %}
<a id="toolbar_button" name="_addanother" class="ui-state-default ui-corner-all " {{ onclick_attrib }} href="javascript:document.forms[0].submit();">
    <span class="ui-icon ui-icon-plus"></span>{% trans 'Save and add another' %}
</a>    

{% endif %}
{% if show_save_and_continue %}
<a id="toolbar_button" name="_continue" class="ui-state-default ui-corner-all" {{ onclick_attrib }} href="javascript:document.forms[0].submit();">
    <span class="ui-icon ui-icon-pencil"></span>{% trans 'Save and continue editing' %}
</a> 
{% endif %}
</div>
